
package com.be.beadmin.quality.repository;

import com.be.beadmin.quality.entity.CabinetQuality;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
* @author zjm
* @date 2023-05-15
**/
public interface CabinetQualityRepository extends JpaRepository<CabinetQuality, String>, JpaSpecificationExecutor<CabinetQuality> {

    CabinetQuality findCabinetQualityByIdAndDelete(String id, Integer delete);

    CabinetQuality findCabinetQualityById(String id);
    CabinetQuality findCabinetQualityByWoAndDelete(String Wo, Integer delete);

}